"""
@Project: pythonPro1
@Name: p10斐波那契数列.py
@Author: linxin_liu
@Date: 2022/9/9 17:21
"""
# 0, 1, 1, 2, 3, 5, 8, 13 ...
a, b = 0, 1
while b < 100:
    print(b, end=',')
    # a, b = b, a + b  # 这行也可以，一行顶三行。同时赋值吗？有点强。
    temp = a
    a = b
    b = temp + b
